.scrollTabs {
    box-sizing: border-box;
    width: 7.5rem;
    height: 0.9rem;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    position: relative;
    z-index: 1;

    * {
        box-sizing: border-box;
    }

    .tabsInner {
        box-sizing: content-box;
        width: 100%;
        height: 100%;
        overflow: hidden;
        overflow-x: scroll;
        -webkit-overflow-scrolling: touch;
        padding: 0.45rem 0;

        & > div {
            white-space: nowrap;
            justify-content: flex-start;
            align-items: center;
            min-width: 100%;
            width: max-content;
            display: flex;
            position: relative;
            height: 100%;
            overflow: hidden;
        }
    }

    .spaceBetween {
        justify-content: space-between;
        padding: 0.45rem 0.3rem;

        & > div {
            justify-content: space-between;
        }
    }

    .tabItem {
        display: flex;
        flex-shrink: 0;
        justify-content: center;
        align-items: center;
        word-break: keep-all;
        white-space: nowrap;
        user-select: none;
        cursor: pointer;
    }

    .underlineItem,
    .sliderItem {
        height: 100%;
        font-weight: 400;
        font-size: 0.3rem;
        color: #666666;
        position: relative;
        transition: transform 0.3s;

        &.selected {
            color: #ab3b3a;
        }
    }

    .borderItem {
        padding: 0 0.17rem;
        min-width: 1rem;
        height: 0.5rem;
        font-weight: 400;
        font-size: 0.24rem;
        color: #999;
        position: relative;
        border: 1px solid #dcdcdc;
        border-radius: 0.3rem;

        &.selected {
            color: #ab3b3a;
            border: 1px solid #ab3b3a;
        }
    }

    .swipeSlider {
        position: absolute;
        will-change: transform;
        color: #ab3b3a;

        &.slideUnderline {
            bottom: 0.1rem;
            width: 0.52rem;
            height: 0.04rem;
        }

        &.slideBorder {
            display: none;
        }

        &.slideSlider {
            bottom: 0;
            height: 100%;
            z-index: -1;
        }

        &::after {
            content: '';
            background: currentColor;
            display: block;
            position: absolute;
            border-radius: inherit;
            height: 100%;
            width: 100%;
            left: 0;
            transform: translate(-50%, 0);
        }
    }
}
